<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.w3.org/1999/xhtml"
      xmlns:shiro="http://www.w3.org/1999/xhtml">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-body">
                <div class="fixed-table-toolbar">
                    <div class="columns pull-left">
                        <button shiro:hasPermission="sys:finance:add" type="button"
                                class="btn  btn-primary" onclick="add()">
                            <i class="fa fa-plus hidden" aria-hidden="true"></i>添加
                        </button>
                        <button shiro:hasPermission="sys:finance:remove" type="button"
                                class="btn  btn-danger" onclick="getTreeData()">
                            <i class="fa fa-trash hidden" aria-hidden="true"></i>删除
                        </button>
                    </div>
                    <div class="columns pull-right">
                        <button class="btn btn-success" onclick="reLoad()">查询</button>
                    </div>
                    <div class="columns pull-right col-md-2">
                        <select id="financeResult" data-placeholder="审核结果" class="form-control chosen-select"
                                title="" tabindex="2" style="width: 100%">
                            <option value="">审核结果</option>
                        </select>
                    </div>
                    <div class="columns pull-right col-md-2">
                        <select id="financeType" data-placeholder="选择财务报销类型" class="form-control chosen-select"
                                title="" tabindex="2" style="width: 100%">
                            <option value="">报销类型</option>
                        </select>
                    </div>
                </div>
                <table id="exampleTable" data-mobile-responsive="true">
                </table>
            </div>
        </div>
    </div>
</div>

<div>
    <script type="text/javascript">
        var s_edit_h = 'hidden';
        var s_remove_h = 'hidden';
    </script>
</div>
<div shiro:hasPermission="yw:finance:edit">
    <script>
        s_edit_h = '';
    </script>
</div>
<div shiro:hasPermission="yw:finance:remove">
    <script>
        s_remove_h = '';
    </script>
</div>
<div th:include="include :: footer"></div>
<script th:src="@{/appjs/yw/finance/finance.js}"></script>
<script th:src="@{/component/laydate/laydate.js}"></script>
</body>
</html>